package com.xiaogao.serviceEdu.service;

import com.xiaogao.serviceEdu.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaogao.serviceEdu.entity.vo.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程章节 服务类
 * </p>
 *
 * @author 小高
 * @since 2021-06-08
 */
public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapterVideoByCourseId(String id);

    boolean removeChapterById(String id);

    boolean removeCourseById(String courseId);
}
